package com.youlai.boot.system.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.entity.SpotCategory;
import com.youlai.boot.system.model.form.SpotCategoryForm;

/**
 * 预售票分类对象转换器
 *
 * @author lwb
 * @since 2025-06-29 16:31
 */
@Mapper(componentModel = "spring")
public interface SpotCategoryConverter{

    SpotCategoryForm toForm(SpotCategory entity);

    SpotCategory toEntity(SpotCategoryForm formData);
}